<?php
class Country_m extends CI_Model
{
	function __construct()
	{
		parent::__construct();
	}

    function get_list () {
		$query = $this->db->query("SELECT * FROM oregano_country WHERE `disabled` = 0 ");
		return  $query->result_array();
	}

	function find_by_id($id) {
		$query = $this->db->query("SELECT * FROM oregano_country WHERE id='$id' LIMIT 1");
		return $query->row_array();
	}
}
?>